$OpenBSD: patch-subversion_libsvn_subr_auth_c,v 1.9 2016/06/14 08:36:29 czarkoff Exp $
--- subversion/libsvn_subr/auth.c.orig	Fri Oct  2 06:00:22 2015
+++ subversion/libsvn_subr/auth.c	Thu May  5 15:04:58 2016
@@ -511,9 +511,9 @@ svn_auth_get_platform_specific_provider(svn_auth_provi
       const char *library_label, *library_name;
       const char *provider_function_name, *version_function_name;
       library_name = apr_psprintf(pool,
-                                  "libsvn_auth_%s-%d.so.%d",
+                                  "libsvn_auth_%s-%d.so.%s",
                                   provider_name,
-                                  SVN_VER_MAJOR, SVN_SOVERSION);
+                                  SVN_VER_MAJOR, "${SO_VERSION}");
       library_label = apr_psprintf(pool, "svn_%s", provider_name);
       provider_function_name = apr_psprintf(pool,
                                             "svn_auth_get_%s_%s_provider",
